package com.wonders.springboot.consumerfeignwithhystrixdemo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient("microservice-provider")
public interface DemoConsumerService {
    @GetMapping("/demo/sayhi")
    public String sayhi();
}
